package com.uottawa.clickerapp.service;

import java.util.List;

import org.springframework.web.client.RestTemplate;


import com.uottawa.clickerapp.domain.Answer;
import com.uottawa.clickerapp.domain.QuestionSession;

public interface ClickerAppWebServiceClient {
	
	public RestTemplate getRestTemplate();
	public String submitPoll( Long questionID,  Long answerID);	
	public QuestionSession getQuestions(String keyword);
	public List<Long> getResults(Long questionID);
	public List<Answer> getAnswers( Long questionID);
	public List<QuestionSession> searchSessions(String keyword);
	public List<String> getRecentSessions();
}
